package com.example.g5project.entity.relation;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author Hu Zirui
 * @version 1.0.0
 * @ClassName SupervisorSchedule.java
 * @Description TODO
 * @createTime 2022年03月04日 09:11:00
 */
@ApiModel(value = "supervisor_schedule")
@Entity(name = "supervisor_schedule")
@Getter
@Setter
public class SupervisorSchedule {
    @Id
    @JsonProperty("supervisor_schedule_id")
    private Integer supervisor_schedule_id;             /*督导排班id*/
    @JsonProperty("supervisor_id")
    private Integer supervisor_id;                      /*督导id*/
    @JsonProperty("week")
    private Integer week;                               /*督导排班星期几*/
    @JsonProperty("month")
    private Integer month;                              /*督导排班月份*/
    @JsonProperty("year")
    private Integer year;                               /*督导排班年份*/
    @JsonProperty("scehdule_date")
    private Date scehdule_date;                         /*督导排班日期*/
}
